﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using RsCms.Application;

namespace Plugin.RsCms.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class AuthorsController : ControllerBase
    {
        IAuthorAppService authorAppService;
        public AuthorsController(IAuthorAppService authorAppService)
        {
            this.authorAppService = authorAppService;
        }
        /// <summary>
        /// 浏览作者
        /// </summary>
        /// <returns></returns>
        [HttpGet("")]
        public object GetList()
        {
            return null;
        }
        /// <summary>
        /// 浏览指定作者
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        [HttpGet("{id}")]
        public object GetList(string id)
        {
            return null;
        }
        /// <summary>
        /// 别名信息
        /// </summary>
        /// <param name="slug"></param>
        /// <returns></returns>
        [HttpGet("slug/{slug}")]
        public object GetBySlug(string slug)
        {
            return null;
        }
    }
}
